package cn.gemiman.daoyi.module.cms.enums;

import cn.gemiman.daoyi.framework.common.exception.ErrorCode;

/**
 * Cms 错误码枚举类
 * <p>
 * netty 系统，使用 1-017-000-000 段
 */
public interface ErrorCodeConstants {

    ErrorCode APP_SITE_NOT_EXISTS = new ErrorCode(1_017_000_001, "站点不存在");
    ErrorCode ARTICLE_CATEGORY_NOT_EXISTS = new ErrorCode(1_017_000_002, "文章栏目不存在");
    ErrorCode ARTICLE_DETAIL_NOT_EXISTS = new ErrorCode(1_017_000_003, "文章不存在");
    ErrorCode ARTICLE_DETAIL_READ_LOGS_NOT_EXISTS = new ErrorCode(1_017_000_004, "阅读记录不存在");
    ErrorCode APP_SITE_COMMENT_NOT_EXISTS = new ErrorCode(1_017_000_005, "站点评论不存在");
    ErrorCode APP_SITE_COMMENT_NOT_SELF = new ErrorCode(1_017_000_006, "只能修改自己的评论");
    ErrorCode APP_SITE_COMMENT_NOT_RUNNING = new ErrorCode(1_017_000_007, "只能修改审批中的审核状态");
    ErrorCode APP_SITE_FOOTPRINT_NOT_EXISTS = new ErrorCode(1_017_000_008, "站点足迹不存在");
    ErrorCode TAG_DICTIONARY_NOT_EXISTS = new ErrorCode(1_017_000_009, "文章标签不存在");
    ErrorCode APP_SITE_ALBUM_NOT_EXISTS = new ErrorCode(1_017_000_010, "站点相册不存在");
    ErrorCode APP_SITE_ALBUM_PHOTO_NOT_EXISTS = new ErrorCode(1_017_000_011, "相册照片不存在");
    ErrorCode BLOG_TALK_NOT_EXISTS = new ErrorCode(1_017_000_012, "说说不存在");
    ErrorCode BLOG_MESSAGE_NOT_EXISTS = new ErrorCode(1_017_000_013, "留言不存在");
    ErrorCode BLOG_MESSAGE_NOT_SELF = new ErrorCode(1_017_000_014, "只能修改自己的留言");
    ErrorCode APP_SITE_NOT_SELF = new ErrorCode(1_017_000_015, "只能修改自己的友链");
    ErrorCode APP_SITE_EXISTS = new ErrorCode(1_017_000_016, "友链已存在，如没展示，请耐心等待审核或联系博主");
}
